//获取客户手机号码
import { axios } from '@/utils/requestOfComponents'


//拨打电话
export function callPhone(params) {
  return axios({
    url: '/common/phoneBox/call',
    method: 'post',
    data:params
  })
}

//查找拨打电话
export function getUserPhoneBox(tel) {
  return axios({
    url: `/common/phoneBox/Answer/${tel}`,
    method: 'get',
  })
}

//获取客户列表-联系号码
export function getUserListByTel(tel) {
  return axios({
    url: `/customer/customerList/tel/${tel}`,
    method: 'get'
  })
}
export function getUserTel(id) {
  return axios({
    url: `/common/phoneBox/getTel/${id}`,
    method: 'get',
  })
}

